<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="老师itcast.core.js"></script>
</head>
<body>
<div class="qq"></div>
    <script>
        Itcast.parseHTML = function ( html ) {

            var  div = document.createElement( 'div' );

            div.innerHTML = html;


            return div.childNodes;
        };
        var divs=I("<div style='width: 400px; height: 100px; border: 1px solid red'>div1</div><div style='width: 400px; height: 100px; border: 1px solid red'>div2</div><div style='width: 400px; height: 100px; border: 1px solid red'>div3</div>")
        for(var i=0;i<divs.length;i++){
            document.body.appendChild(divs[i])
        }
        console.log(typeof divs);

    </script>
</body>
</html>